package com.chen.blog.mapper;

import com.chen.blog.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 1/19/25 10:23 AM
 */
@Mapper
public interface CategoryMapper {
    List<Category>  selectAllCategory();
    //    分页查询 , 用pageHelp插件
    List<Category>  selectAllBtPage(Category category);
    Integer updateCategory(Category category);
    Integer insertCategory(Category category);
    Integer deleteCategory(Integer cid);
}
